<template>
  <div class="boxs">
    <div class="banner"></div>
    <div class="f1">
      <div class="breadcrumb">
        <h6 @click="$router.go(-1)">
          <img src="@/assets/home/back.png" alt="" />
          返回上一页
        </h6>
      </div>
      <div class="f1_content">
        <h6 class="title">常见问题</h6>
        <div class="content">
          <div class="commonProblem_input">
            <input v-model="input" placeholder="请描述问题" />
            <div class="btn">
              <img src="@/assets/image/放大镜1.png" alt="" />
            </div>
          </div>
          <div>
            <div
              class="commonProblem_item"
              v-for="(item, index) in commonProblem"
              :key="index"
            >
              <!--               @click="
                $router.push(
                  `/content?title=${item.title}&content=${item.content}`
                )
              " -->
              <h3 class="question">
                <div class="circle">
                  <img src="@/assets/image/组312.png" alt="" />
                </div>
                {{ item.title }}
              </h3>
              <h5 class="answer">
                <div class="circle">
                  <img
                    style="width: 19px; height: 18px"
                    src="@/assets/image/组313.png"
                    alt=""
                  />
                </div>
                {{ item.content }}
              </h5>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import { ref, onMounted } from "vue";

const input = ref("");
const commonProblem = ref([
  {
    title: "平台提供哪些金融服务？",
    content:
      "湖北国际贸易数字化平台金融服务板块，入驻多家银行、担保、保险等金融机构，为企业在跨境贸易全链条中提供全方位优质、定向金融服务，助力企业健康可持续发展。",
  },
  {
    title: "金融服务需要哪些办理条件？",
    content:
      "一般要求企业有进出口贸易资质、具有真实合法的贸易背景、营业状况良好、无重大诉讼案件、无征信不良记录。不同产品有所差异，具体以产品要求为准。",
  },
  {
    title: "产品申请的基本流程是什么？",
    content:
      "首先，企业用户发起产品申请，根据要求填写申请表单，进行提交；其次，平台会根据客户所填信息进行风控核实；最后，金融机构在关注该笔订单后启动尽调、审批、授信及放款。",
  },
  {
    title: "产品申请都需要提交哪些材料吗？",
    content:
      "在申请产品时，需要根据具体服务商产品的要求提交相应的材料，一般需要公司营业执照、法定代表人身份证、近两年一期财务报表、其他相关资质等。",
  },
  {
    title: "产品提交申请后，如何关注订单进度？",
    content:
      "企业用户在申请产品后，在用户中心“金融服务”中了解订单申请的受理审批进度。",
  },
  {
    title: "在操作过程中遇到问题怎么办？",
    content:
      "当用户在平台上操作遇到问题时，可以联系平台客服（客服电话：027-95198（人工服务时间：周一至周五 09:00-17：00）），客服会耐心为您解答；用户也可以通过右侧快捷菜单-“留言资讯”功能来反馈遇到的问题，后续将会有平台工作人员联系解决。",
  },
]);
onMounted(() => {
  document.documentElement.scrollTop = 0;
});
</script>

<style lang="scss" scoped>
/*去掉列表前面的小点*/
ul {
  list-style: none;
}
.boxs {
  position: relative;
  width: 100%;
  height: 1200px;
  box-sizing: border-box;
  padding-bottom: 80px;
  background: #f5f7fa;
  .banner {
    position: absolute;
    width: 100%;
    height: 200px;
    background: url(@/assets/image/组310.png);
    background-size: 100% 100%;
    z-index: 0;
  }
  .f1 {
    width: 100%;
    position: absolute;
    .breadcrumb {
      position: relative;
      margin: 0 auto;
      width: 1200px;
      height: 76px;
      background-color: rgba(255, 255, 255, 0);
      h6 {
        position: absolute;
        right: 35px;
        box-sizing: border-box;
        padding-top: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        font-size: 16px;
        font-weight: 300;
        color: #ffffff;
        text-decoration: underline;
        img {
          width: 16px;
          margin-right: 8px;
        }
      }
    }
    .f1_content {
      box-sizing: border-box;
      padding: 22px 60px;
      margin: 0 auto;
      width: 1200px;
      // height: 800px;
      background: #fff;
      border-radius: 4px;
      .title {
        text-align: center;
        width: 100%;
        height: 55px;
        font-size: 28px;
        font-weight: 500;
        color: #000000;
        // border-bottom: 1px solid #e0e0e0;
      }
      .content {
        box-sizing: border-box;
        padding: 25px 0;
        .commonProblem_input {
          display: flex;
          align-items: center;
          width: 500px;
          position: relative;
          margin-bottom: 30px;
          input {
            box-sizing: border-box;
            padding: 0 20px;
            width: 500px;
            height: 43px;
            border: 1px solid #cccccc;
          }
          .btn {
            position: absolute;
            right: 19px;
            display: flex;
            justify-content: center;
            align-items: center;
            img {
              cursor: pointer;
              width: 26px;
            }
          }
        }
        .commonProblem_item {
          cursor: pointer;
          box-sizing: border-box;
          padding: 20px;
          width: 1080px;
          // height: 101px;
          background: #f7f7f7;
          margin-bottom: 20px;
          .circle {
            cursor: pointer;
            img {
              width: 21px;
              height: 21px;
              margin-right: 9px;
            }
          }
          .question {
            cursor: pointer;
            display: flex;
            font-size: 16px;
            font-weight: 500;
            color: #0a7be0;
            margin-bottom: 10px;
          }
          .answer {
            cursor: pointer;
            display: flex;
            font-size: 15px;
            font-weight: 500;
            color: #909090;
            // margin-bottom: 30px;
          }
        }
      }
    }
  }
}
</style>
